package com.heima.studentinfoplus.service;


import com.heima.studentinfoplus.entity.LoginRequest;
import com.heima.studentinfoplus.entity.LoginResponse;
import com.heima.studentinfoplus.entity.User;
import org.springframework.security.core.userdetails.UserDetailsService;

public interface UserService {

    User register(User user);
    LoginResponse login(LoginRequest request);
}

